package com.java8.lambda;

public class
FilterEmployeeByAge implements MyPredicate<Employee> {

    public boolean test(Employee employee) {
        return employee.getAge() >= 35 && employee.getSalary() >= 1111.11;
    }
}
